﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_SUPPLIER.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_SUPPLIER数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_SUPPLIER", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_SUPPLIER", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_SUPPLIER_Entity
	{
		#region 变量定义		
		///<summary>
		///供应商编号
		///</summary>
		private long _sUPPLIERID;
		///<summary>
		///供应商代码
		///</summary>
		private string _sUPPLIERCODE = String.Empty;
		///<summary>
		///供应商简称
		///</summary>
		private string _sUPPLIERSHORTNAME = String.Empty;
		///<summary>
		///供应商名称
		///</summary>
		private string _sUPPLIERNAME = String.Empty;
		///<summary>
		///企业编码
		///</summary>
		private string _cORPCODE = String.Empty;
		///<summary>
		///品牌编码
		///</summary>
		private string _bRANDCODE = String.Empty;
		///<summary>
		///创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///创建人编号
		///</summary>
		private long? _cREATEPEOPLEID = 0;
		///<summary>
		///创建人
		///</summary>
		private string _cREATEPEOPLE = String.Empty;
		///<summary>
		///最后修改人编号
		///</summary>
		private long? _lASTMODIFYPEOPLEID = 0;
		///<summary>
		///最后修改人
		///</summary>
		private string _lASTMODIFYPEOPLE = String.Empty;
		///<summary>
		///最后修改时间
		///</summary>
		private DateTime? _lASTMODIFYTIME;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		///<summary>
		///状态
		///</summary>
		private long? _sTATUS = 0;
		///<summary>
		///记录状态变更日志
		///</summary>
		private string _sTATUSLOG = String.Empty;
		///<summary>
		///时间戳
		///</summary>
		private DateTime? _fTIMESTAMP;
		///<summary>
		///业务经理
		///</summary>
		private string _oPMGR = String.Empty;
		///<summary>
		///经理电话
		///</summary>
		private string _oPMGRPHONE = String.Empty;
		///<summary>
		///联系人
		///</summary>
		private string _lINKMAN = String.Empty;
		///<summary>
		///联系电话
		///</summary>
		private string _lINKPHONE = String.Empty;
		///<summary>
		///值班电话
		///</summary>
		private string _wORKPHONE = String.Empty;
		///<summary>
		///联系手机
		///</summary>
		private string _lINKMOBILE = String.Empty;
		///<summary>
		///传真
		///</summary>
		private string _fAX = String.Empty;
		///<summary>
		///地址
		///</summary>
		private string _aDDRESS = String.Empty;
		///<summary>
		///邮件地址
		///</summary>
		private string _eMAIL = String.Empty;
		///<summary>
		///法人
		///</summary>
		private string _lEGALPERSON = String.Empty;
		///<summary>
		///供货方式
		///</summary>
		private string _sUPPLYMODE = String.Empty;
		///<summary>
		///公司网址
		///</summary>
		private string _cOMPANYURL = String.Empty;
		///<summary>
		///给同行业其它主机厂配套情况
		///</summary>
		private string _sUPPORTINGCASE = String.Empty;
		///<summary>
		///行业类型
		///</summary>
		private string _iNDUSTRYTYPE = String.Empty;
		///<summary>
		///开户行
		///</summary>
		private string _bANK = String.Empty;
		///<summary>
		///帐号
		///</summary>
		private string _aCCOUNTNUMBER = String.Empty;
		///<summary>
		///联系部门编号
		///</summary>
		private long? _lINKDEPARTMENTID = 0;
		///<summary>
		///联系部门名称
		///</summary>
		private string _lINKDEPARTMENTNAME = String.Empty;
		///<summary>
		///联系邮编
		///</summary>
		private string _lINKZIP = String.Empty;
		///<summary>
		///安全生产许可证
		///</summary>
		private string _sAFETYLICENSE = String.Empty;
		///<summary>
		///变更通知
		///</summary>
		private string _cHANGENOTIFICATION = String.Empty;
		///<summary>
		///编码申请时间
		///</summary>
		private DateTime? _eNCODINGTIME;
		///<summary>
		///编码下发时间
		///</summary>
		private DateTime? _eNCODINGISSUEDTIME;
		///<summary>
		///厂内照片
		///</summary>
		private string _fACTORYPHOTO = String.Empty;
		///<summary>
		///产品质量证明文件
		///</summary>
		private string _qUALITYDOCUMENTS = String.Empty;
		///<summary>
		///取得认证资格的证明文件
		///</summary>
		private string _cERTIFICATION = String.Empty;
		///<summary>
		///企业概况
		///</summary>
		private string _eNTERPRISEOVERVIEW = String.Empty;
		///<summary>
		///所有权结构
		///</summary>
		private string _oWNERSHIPSTRUCTURE = String.Empty;
		///<summary>
		///所属事业部
		///</summary>
		private string _rESPECTIVEDIVISION = String.Empty;
		///<summary>
		///邮编
		///</summary>
		private string _zIP = String.Empty;
		///<summary>
		///国别
		///</summary>
		private string _cOUNTRY = String.Empty;
		///<summary>
		///省市
		///</summary>
		private string _pROVINCES = String.Empty;
		///<summary>
		///县乡
		///</summary>
		private string _cOUNTY = String.Empty;
		///<summary>
		///注册类型
		///</summary>
		private string _rEGISTRATIONTYPE = String.Empty;
		///<summary>
		///注册资金
		///</summary>
		private long? _rEGISTEREDCAPITAL = 0;
		///<summary>
		///营业执照注册号
		///</summary>
		private string _lICENSENUMBER = String.Empty;
		///<summary>
		///主要检测设备及检测仪器
		///</summary>
		private string _tESTINGEQUIPMENT = String.Empty;
		///<summary>
		///主要质量制度文件
		///</summary>
		private string _qUALITYSYSTEMDOC = String.Empty;
		///<summary>
		///组织结构代码证号码
		///</summary>
		private string _cODECARDNUMBER = String.Empty;
		///<summary>
		///组织机构代码证附件
		///</summary>
		private string _cODECARDATTACHMENT = String.Empty;
		///<summary>
		///供货关系
		///</summary>
		private string _sUPPLIERRELATIONSHIP = String.Empty;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID = 0;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_SUPPLIER_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///供应商编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_SUPPLIER")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long SUPPLIERID
		{
			get {return _sUPPLIERID;}
			set { _sUPPLIERID = value; }
			
		}

		///<summary>
		///供应商代码
		///</summary>		
		public string SUPPLIERCODE
		{
			get {return _sUPPLIERCODE;}
			set {
					_sUPPLIERCODE = value;
				}
			
		}

		///<summary>
		///供应商简称
		///</summary>		
		public string SUPPLIERSHORTNAME
		{
			get {return _sUPPLIERSHORTNAME;}
			set {
					_sUPPLIERSHORTNAME = value;
				}
			
		}

		///<summary>
		///供应商名称
		///</summary>		
		public string SUPPLIERNAME
		{
			get {return _sUPPLIERNAME;}
			set {
					_sUPPLIERNAME = value;
				}
			
		}

		///<summary>
		///企业编码
		///</summary>		
		public string CORPCODE
		{
			get {return _cORPCODE;}
			set {
					_cORPCODE = value;
				}
			
		}

		///<summary>
		///品牌编码
		///</summary>		
		public string BRANDCODE
		{
			get {return _bRANDCODE;}
			set {
					_bRANDCODE = value;
				}
			
		}

		///<summary>
		///创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///创建人编号
		///</summary>		
		public long? CREATEPEOPLEID
		{
			get {return _cREATEPEOPLEID;}
			set { _cREATEPEOPLEID = value; }
			
		}

		///<summary>
		///创建人
		///</summary>		
		public string CREATEPEOPLE
		{
			get {return _cREATEPEOPLE;}
			set {
					_cREATEPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改人编号
		///</summary>		
		public long? LASTMODIFYPEOPLEID
		{
			get {return _lASTMODIFYPEOPLEID;}
			set { _lASTMODIFYPEOPLEID = value; }
			
		}

		///<summary>
		///最后修改人
		///</summary>		
		public string LASTMODIFYPEOPLE
		{
			get {return _lASTMODIFYPEOPLE;}
			set {
					_lASTMODIFYPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改时间
		///</summary>		
		public DateTime? LASTMODIFYTIME
		{
			get {return _lASTMODIFYTIME;}
			set { _lASTMODIFYTIME = value; }
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}

		///<summary>
		///状态
		///</summary>		
		public long? STATUS
		{
			get {return _sTATUS;}
			set { _sTATUS = value; }
			
		}

		///<summary>
		///记录状态变更日志
		///</summary>		
		public string STATUSLOG
		{
			get {return _sTATUSLOG;}
			set {
					_sTATUSLOG = value;
				}
			
		}

		///<summary>
		///时间戳
		///</summary>		
		public DateTime? FTIMESTAMP
		{
			get {return _fTIMESTAMP;}
			set { _fTIMESTAMP = value; }
			
		}

		///<summary>
		///业务经理
		///</summary>		
		public string OPMGR
		{
			get {return _oPMGR;}
			set {
					_oPMGR = value;
				}
			
		}

		///<summary>
		///经理电话
		///</summary>		
		public string OPMGRPHONE
		{
			get {return _oPMGRPHONE;}
			set {
					_oPMGRPHONE = value;
				}
			
		}

		///<summary>
		///联系人
		///</summary>		
		public string LINKMAN
		{
			get {return _lINKMAN;}
			set {
					_lINKMAN = value;
				}
			
		}

		///<summary>
		///联系电话
		///</summary>		
		public string LINKPHONE
		{
			get {return _lINKPHONE;}
			set {
					_lINKPHONE = value;
				}
			
		}

		///<summary>
		///值班电话
		///</summary>		
		public string WORKPHONE
		{
			get {return _wORKPHONE;}
			set {
					_wORKPHONE = value;
				}
			
		}

		///<summary>
		///联系手机
		///</summary>		
		public string LINKMOBILE
		{
			get {return _lINKMOBILE;}
			set {
					_lINKMOBILE = value;
				}
			
		}

		///<summary>
		///传真
		///</summary>		
		public string FAX
		{
			get {return _fAX;}
			set {
					_fAX = value;
				}
			
		}

		///<summary>
		///地址
		///</summary>		
		public string ADDRESS
		{
			get {return _aDDRESS;}
			set {
					_aDDRESS = value;
				}
			
		}

		///<summary>
		///邮件地址
		///</summary>		
		public string EMAIL
		{
			get {return _eMAIL;}
			set {
					_eMAIL = value;
				}
			
		}

		///<summary>
		///法人
		///</summary>		
		public string LEGALPERSON
		{
			get {return _lEGALPERSON;}
			set {
					_lEGALPERSON = value;
				}
			
		}

		///<summary>
		///供货方式
		///</summary>		
		public string SUPPLYMODE
		{
			get {return _sUPPLYMODE;}
			set {
					_sUPPLYMODE = value;
				}
			
		}

		///<summary>
		///公司网址
		///</summary>		
		public string COMPANYURL
		{
			get {return _cOMPANYURL;}
			set {
					_cOMPANYURL = value;
				}
			
		}

		///<summary>
		///给同行业其它主机厂配套情况
		///</summary>		
		public string SUPPORTINGCASE
		{
			get {return _sUPPORTINGCASE;}
			set {
					_sUPPORTINGCASE = value;
				}
			
		}

		///<summary>
		///行业类型
		///</summary>		
		public string INDUSTRYTYPE
		{
			get {return _iNDUSTRYTYPE;}
			set {
					_iNDUSTRYTYPE = value;
				}
			
		}

		///<summary>
		///开户行
		///</summary>		
		public string BANK
		{
			get {return _bANK;}
			set {
					_bANK = value;
				}
			
		}

		///<summary>
		///帐号
		///</summary>		
		public string ACCOUNTNUMBER
		{
			get {return _aCCOUNTNUMBER;}
			set {
					_aCCOUNTNUMBER = value;
				}
			
		}

		///<summary>
		///联系部门编号
		///</summary>		
		public long? LINKDEPARTMENTID
		{
			get {return _lINKDEPARTMENTID;}
			set { _lINKDEPARTMENTID = value; }
			
		}

		///<summary>
		///联系部门名称
		///</summary>		
		public string LINKDEPARTMENTNAME
		{
			get {return _lINKDEPARTMENTNAME;}
			set {
					_lINKDEPARTMENTNAME = value;
				}
			
		}

		///<summary>
		///联系邮编
		///</summary>		
		public string LINKZIP
		{
			get {return _lINKZIP;}
			set {
					_lINKZIP = value;
				}
			
		}

		///<summary>
		///安全生产许可证
		///</summary>		
		public string SAFETYLICENSE
		{
			get {return _sAFETYLICENSE;}
			set {
					_sAFETYLICENSE = value;
				}
			
		}

		///<summary>
		///变更通知
		///</summary>		
		public string CHANGENOTIFICATION
		{
			get {return _cHANGENOTIFICATION;}
			set {
					_cHANGENOTIFICATION = value;
				}
			
		}

		///<summary>
		///编码申请时间
		///</summary>		
		public DateTime? ENCODINGTIME
		{
			get {return _eNCODINGTIME;}
			set { _eNCODINGTIME = value; }
			
		}

		///<summary>
		///编码下发时间
		///</summary>		
		public DateTime? ENCODINGISSUEDTIME
		{
			get {return _eNCODINGISSUEDTIME;}
			set { _eNCODINGISSUEDTIME = value; }
			
		}

		///<summary>
		///厂内照片
		///</summary>		
		public string FACTORYPHOTO
		{
			get {return _fACTORYPHOTO;}
			set {
					_fACTORYPHOTO = value;
				}
			
		}

		///<summary>
		///产品质量证明文件
		///</summary>		
		public string QUALITYDOCUMENTS
		{
			get {return _qUALITYDOCUMENTS;}
			set {
					_qUALITYDOCUMENTS = value;
				}
			
		}

		///<summary>
		///取得认证资格的证明文件
		///</summary>		
		public string CERTIFICATION
		{
			get {return _cERTIFICATION;}
			set {
					_cERTIFICATION = value;
				}
			
		}

		///<summary>
		///企业概况
		///</summary>		
		public string ENTERPRISEOVERVIEW
		{
			get {return _eNTERPRISEOVERVIEW;}
			set {
					_eNTERPRISEOVERVIEW = value;
				}
			
		}

		///<summary>
		///所有权结构
		///</summary>		
		public string OWNERSHIPSTRUCTURE
		{
			get {return _oWNERSHIPSTRUCTURE;}
			set {
					_oWNERSHIPSTRUCTURE = value;
				}
			
		}

		///<summary>
		///所属事业部
		///</summary>		
		public string RESPECTIVEDIVISION
		{
			get {return _rESPECTIVEDIVISION;}
			set {
					_rESPECTIVEDIVISION = value;
				}
			
		}

		///<summary>
		///邮编
		///</summary>		
		public string ZIP
		{
			get {return _zIP;}
			set {
					_zIP = value;
				}
			
		}

		///<summary>
		///国别
		///</summary>		
		public string COUNTRY
		{
			get {return _cOUNTRY;}
			set {
					_cOUNTRY = value;
				}
			
		}

		///<summary>
		///省市
		///</summary>		
		public string PROVINCES
		{
			get {return _pROVINCES;}
			set {
					_pROVINCES = value;
				}
			
		}

		///<summary>
		///县乡
		///</summary>		
		public string COUNTY
		{
			get {return _cOUNTY;}
			set {
					_cOUNTY = value;
				}
			
		}

		///<summary>
		///注册类型
		///</summary>		
		public string REGISTRATIONTYPE
		{
			get {return _rEGISTRATIONTYPE;}
			set {
					_rEGISTRATIONTYPE = value;
				}
			
		}

		///<summary>
		///注册资金
		///</summary>		
		public long? REGISTEREDCAPITAL
		{
			get {return _rEGISTEREDCAPITAL;}
			set { _rEGISTEREDCAPITAL = value; }
			
		}

		///<summary>
		///营业执照注册号
		///</summary>		
		public string LICENSENUMBER
		{
			get {return _lICENSENUMBER;}
			set {
					_lICENSENUMBER = value;
				}
			
		}

		///<summary>
		///主要检测设备及检测仪器
		///</summary>		
		public string TESTINGEQUIPMENT
		{
			get {return _tESTINGEQUIPMENT;}
			set {
					_tESTINGEQUIPMENT = value;
				}
			
		}

		///<summary>
		///主要质量制度文件
		///</summary>		
		public string QUALITYSYSTEMDOC
		{
			get {return _qUALITYSYSTEMDOC;}
			set {
					_qUALITYSYSTEMDOC = value;
				}
			
		}

		///<summary>
		///组织结构代码证号码
		///</summary>		
		public string CODECARDNUMBER
		{
			get {return _cODECARDNUMBER;}
			set {
					_cODECARDNUMBER = value;
				}
			
		}

		///<summary>
		///组织机构代码证附件
		///</summary>		
		public string CODECARDATTACHMENT
		{
			get {return _cODECARDATTACHMENT;}
			set {
					_cODECARDATTACHMENT = value;
				}
			
		}

		///<summary>
		///供货关系
		///</summary>		
		public string SUPPLIERRELATIONSHIP
		{
			get {return _sUPPLIERRELATIONSHIP;}
			set {
					_sUPPLIERRELATIONSHIP = value;
				}
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}
		
		
		#endregion
		
	}
}
